package com.woniuxy.sale.mapper;

import com.woniuxy.commons.entity.sale.PackingList;
import com.woniuxy.commons.entity.sale.PackingMsg;
import com.woniuxy.commons.entity.sale.dto.ChooseProduceMsgDto;
import com.woniuxy.commons.entity.sale.dto.ProductDto;
import com.woniuxy.sale.dto.AmountDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface AmountDao {


    List<PackingList> findStatusList();

    int updateChooseProduceStatusByPsIdAndId(@Param("psId")Integer psId, @Param("ids") List ids);

    List<PackingMsg> findPackingMsgByPackngId(String packngId);

    List<ChooseProduceMsgDto> findChooseProducesByPsId(Integer psId);
}
